<%@page import="db.DBLib"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<logic:empty name="user">
未登录
</logic:empty>
<logic:present name="user">
	当前登录用户名:${user.userName }
</logic:present>


<br/><br/>

<a href="register.jsp">注册</a> <a href="login.jsp">登录</a> <a href="userlist.jsp">显示用户</a>


</body>
</html>